package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网站管理对象 yd_portal
 * 
 * @author 刘福文
 * @date 2025-04-24
 */
public class YdPortal extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 门户标题 */
    @Excel(name = "门户标题")
    private String title;

    /** 门户类型 */
    @Excel(name = "门户类型")
    private String portalType;

    /** 网站链接 */
    @Excel(name = "网站链接")
    private String portalUrl;

    /** 图片 */
    @Excel(name = "图片")
    private String portalImage;

    /** 排序 */
    @Excel(name = "排序")
    private Long portalOrder;

    /** 状态（0正常 1关闭） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=关闭")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setPortalType(String portalType) 
    {
        this.portalType = portalType;
    }

    public String getPortalType() 
    {
        return portalType;
    }

    public void setPortalUrl(String portalUrl) 
    {
        this.portalUrl = portalUrl;
    }

    public String getPortalUrl() 
    {
        return portalUrl;
    }

    public void setPortalImage(String portalImage) 
    {
        this.portalImage = portalImage;
    }

    public String getPortalImage() 
    {
        return portalImage;
    }

    public void setPortalOrder(Long portalOrder) 
    {
        this.portalOrder = portalOrder;
    }

    public Long getPortalOrder() 
    {
        return portalOrder;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("portalType", getPortalType())
            .append("portalUrl", getPortalUrl())
            .append("portalImage", getPortalImage())
            .append("portalOrder", getPortalOrder())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
